package ch13;

/**
 * Created by hasee on 2017/10/16.
 */
public class sort {
    public static void main(String[] args) {
        Sorting sort = new Sorting();
       Comparable[] Sun={56,123,235,9,1,653,90,8,7};
       sort.bubblesort(Sun);
       sort.selectionSort(Sun);
       sort.insertionSort(Sun);
       sort.quickSort(Sun,0,Sun.length-1);
       sort.mergeSort(Sun,0,Sun.length-1);



       for (Comparable comparable:Sun)
       System.out.println(comparable);
    }
}
